package com.inspector.app.ui.plot

import android.os.Bundle
import android.view.Window
import androidx.fragment.app.FragmentContainerView
import com.gyf.immersionbar.BarHide
import com.gyf.immersionbar.ImmersionBar
import com.inspector.app.R
import com.inspector.app.ui.base.BaseDJActivity

class PlotActivity: BaseDJActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(FragmentContainerView(this).apply {
            id = R.id.container
        })
        if (savedInstanceState == null) {
            supportFragmentManager
                .beginTransaction()
                .replace(R.id.container, PlotFragment())
                .commit()
        }
    }

}
